package com.gitee.feizns.itrip.personal.trade.mapper;

import com.gitee.feizns.itrip.personal.trade.entity.vo.ForViewConfirmOrder;
import com.gitee.feizns.itrip.personal.trade.entity.vo.ForViewCreateQcCode;
import org.apache.ibatis.annotations.Param;

/**
 * @author feizns
 * @since 2019/1/13 0013
 */
public interface TradeHotelOrderMapper {

    /**
     * 根据订单编号获取订单信息
     * @param orderNo
     * @return
     */
    ForViewConfirmOrder getOrderByOrderNo(@Param("orderNo") String orderNo, @Param("orderStatus") int orderStatus);

    /**
     * 根据订单编号获取订单id
     * @param orderNo
     * @return
     */
    Long getOrderIdByOrderNo(String orderNo);

    /**
     * 根据订单编号获取订单信息
     * @param orderNo
     * @return
     */
    ForViewCreateQcCode getOrderForViewCreateQcCode(String orderNo);

}

